  set(CORESHELL_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/CORESHELL)
  set(CORESHELL_SOURCES)
  set_property(GLOBAL PROPERTY "CORESHELL_SOURCES" "${CORESHELL_SOURCES}")

  # detects styles which have a CORESHELL version
  RegisterStylesExt(${CORESHELL_SOURCES_DIR} cs CORESHELL_SOURCES)

  get_property(CORESHELL_SOURCES GLOBAL PROPERTY CORESHELL_SOURCES)

  target_sources(lammps PRIVATE ${CORESHELL_SOURCES})
  target_include_directories(lammps PRIVATE ${CORESHELL_SOURCES_DIR})
